<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../styles.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<!-- DATE PICKER SCRIPT -->
<link type="text/css" href="../css/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../js/jquery-ui-1.8.21.custom.min.js"></script>
<script>
	$(function() {
		$( "#arrival1" ).datepicker();
		$( "#departure1" ).datepicker();
		$( "#arrival2" ).datepicker();
		$( "#departure2" ).datepicker();
	});
	</script>
  <!-- END DATE PICKER SCRIPT -->

<script> 
  //$(document).ready(function(){
  //$('.dashboad_wrapper tr:nth-child(odd)').addClass('alternate');
//});
</script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
    $('#list_table tr:nth-child(2n+1)').addClass('alternate');
});
</script>

<script language="javascript" type="text/javascript">
function checkValidation()
{
	if(document.getElementById('username').value =="")
	{
		alert("Enter Username");
		document.getElementById('username').focus();
		return false;
	}
	
	if(document.getElementById('password').value =="")
	{
		alert("Enter Password");
		document.getElementById('password').focus();
		return false;
	}
	return true;
}
</script>

<title>Admin Login :: Costa Baja</title>

</head>
<%
if(session("AdminId") <> "") then
	Response.Redirect("admin-dashboard.asp")
end if
%>
<body>

<div id="main_wrapper">
    	<div class="main_wrapper_margin">
        
        <h1>Administrador Bienvenido a Costa Baja</h1>	
        
        <div class="login_box">
        
        <form action="loginadmin.asp" method="post">
		
			<label>Nombre de Usuario</label><br />
			
				<input name="username" id="username" size="25" maxlength="100" value="" tabindex="1" type="text"/><br />
			
			<label>Contraseña</label><br />
			
				<input name="password" id="password" value="" size="25" tabindex="1" type="password"/><br />
			
			<input type="submit"  value="Entrar" onclick="javascript:return checkValidation();" />
        
        
        </form>
        
        
        </div><!--    .login_box --> 
        
        <a href="../costabaja/">Costa Baja Login</a>
    	</div><!-- END .main_wrapper_margin -->
        
	</div><!-- END #main_wrapper -->

         <!-- FOOTER -->
         
         <!--#INCLUDE FILE="admin_footer.asp"-->
         
         <!-- END FOOTER -->   

</body>
</html>
